home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.7 KB | 42 lines | [TEXT/GEOL] |
- Item forwarded by A33 to A34
-
- Item 4264873 5-Nov-89 15:37
-
- From: D1220 Vari-Lite, Andy Meldrum,PRT
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: ?Focus Logic
-
- Problems in Focus Land ??
-
- I have (just) installed BlackBox 1.5. ( Mostly to see what it does ). If I
- click on an empty dock, getting the Dialog 'What Would you like to install'
- every once in maybe 20 attempts I find that I can get dropped in to MacsBug
- (TMON actually..) with a message 'TWindow.Focus: Port is incorrect'. Carrying
- on lands me in the MacApp debugger with the message 'Port is incorrect'. This
- happens with both my App & the Calc Sample. I am running MF 6.1ß9, MacApp
- 2.0ß9, System 6.0.3 The offending object seems to be TWindow.
-
- Its my guess that BlackBox is doing something sly in presenting this dialog, as
- the Apps Window Bar dims out, bit the rest of the Window is shown as normal.
-
- My question is centered more on the Logic in TWindow.Focus. My reading of it is
- that if the App has debug on then I get a warning. If the App doesn't have
- debug on then MacApp pretends nothing has happened & doesn't make any attempt
- to fix it up. It seems to me ( knowing little in this case makes it easy for me
- to say this !! ) that if this error occurs in a non debug app we should try
- setting the Window's grafport as the active port ( or at least do something !!
- ).
-
- I realize that this only occurs with a PD Init that may be causing the problem
- in the first place, but I get the feeling MacApp could do more when it runs in
- to this problem... I am certainly not advocating patching MacApp so it runs
- with every INIT in the world.
-
- Just trying to help ( honest.. )
-
- Andy.
-
-
-